'use strict';
function one_add_next_multiply_three(collection){
  let arr=[];
  for(let i=0;i<collection.length-1;i++){
    let sum=collection[i]+collection[i+1];
    arr.push(sum);
  }
  let arr1=arr.map(
    function maped(element){
      return element*3;
    }
  );
  return arr1;
}
module.exports = one_add_next_multiply_three;
